#ifdef HERZELEID_DESKTOP
 #if _MSC_VER
  #pragma once
 #endif

 #ifndef __HERZELEID_WINDOWSIZECHANGEDEVENTARGS_INCLUDED__
  #define __HERZELEID_WINDOWSIZECHANGEDEVENTARGS_INCLUDED__
  #include "HerzeleidEventArgsBase.hxx"
  #include "HerzeleidUICore.hxx"
  #include "HerzeleidSize.hxx"

// Contains the argument returned by a window size change event.
HerzeleidUICoreNamespaceBegin class WindowSizeChangedEventArgs : public EventArgsBase
{
protected:
	
	typedef HerzeleidFoundationNamespaceImpl::Size WindowSize;		// Size type shortcut 
	TinyTypeDecl( WindowSize );										// Size type shortcut 

	// Members
	
	WindowSize m_Size;											// The new size of the window.

public:
	// Construct event args object 
	WindowSizeChangedEventArgs( 
		_In_  WindowSizeConstRef Size							// The new size of the window.
		);

	// Properties
	
	DeclGetPropOnly( WindowSizeConstPtrConst, Size );			// Gets the new size of the window.
	DeclConstTypedGetterFor( WindowSizeConstPtrConst, Size );	// Gets the new size of the window.

} HerzeleidUICoreNamespaceEnd; 

 #endif // !HERZELEID_WINDOWSIZECHANGEDEVENTARGS_INCLUDED__
#endif // !HERZELEID_DESKTOP
